/
IParsable`1.xml
134 lines (134 loc) · 8.13 KB
/
IParsable`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<Type Name="IParsable<TSelf>" FullName="System.IParsable<TSelf>">
<TypeSignature Language="C#" Value="public interface IParsable<TSelf> where TSelf : IParsable<TSelf>" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IParsable`1<(class System.IParsable`1<!TSelf>) TSelf>" FrameworkAlternate="net-7.0" />
<TypeSignature Language="DocId" Value="T:System.IParsable`1" />
<TypeSignature Language="VB.NET" Value="Public Interface IParsable(Of TSelf)" />
<TypeSignature Language="F#" Value="type IParsable<'Self (requires 'Self :> IParsable<'Self>)> = interface" />
<TypeSignature Language="C++ CLI" Value="generic <typename TSelf>
 where TSelf : IParsable<TSelf>public interface class IParsable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IParsable`1<(class System.IParsable`1<!TSelf>) TSelf>" FrameworkAlternate="net-8.0;net-9.0" />
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TSelf">
<Constraints>
<InterfaceName>System.IParsable<TSelf></InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Interfaces />
<Docs>
<typeparam name="TSelf">The type that implements this interface.</typeparam>
<summary>Defines a mechanism for parsing a string to a value.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public static abstract TSelf Parse (string s, IFormatProvider? provider);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig virtual !TSelf Parse(string s, class System.IFormatProvider provider) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IParsable`1.Parse(System.String,System.IFormatProvider)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Parse (s As String, provider As IFormatProvider) As TSelf" />
<MemberSignature Language="F#" Value="static member Parse : string * IFormatProvider -> 'Self" Usage="System.IParsable<'Self (requires 'Self :> System.IParsable<'Self>)>.Parse (s, provider)" />
<MemberSignature Language="C++ CLI" Value="public:
 static TSelf Parse(System::String ^ s, IFormatProvider ^ provider);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>TSelf</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="s" Type="System.String" />
<Parameter Name="provider" Type="System.IFormatProvider">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="s">The string to parse.</param>
<param name="provider">An object that provides culture-specific formatting information about <paramref name="s" />.</param>
<summary>Parses a string into a value.</summary>
<returns>The result of parsing <paramref name="s" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="s" /> is <see langword="null" />.</exception>
<exception cref="T:System.FormatException">
<paramref name="s" /> is not in the correct format.</exception>
<exception cref="T:System.OverflowException">
<paramref name="s" /> is not representable by <typeparamref name="TSelf" />.</exception>
</Docs>
</Member>
<Member MemberName="TryParse">
<MemberSignature Language="C#" Value="public static abstract bool TryParse (string? s, IFormatProvider? provider, out TSelf result);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig virtual bool TryParse(string s, class System.IFormatProvider provider, [out] !TSelf& result) cil managed" />
<MemberSignature Language="DocId" Value="M:System.IParsable`1.TryParse(System.String,System.IFormatProvider,`0@)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function TryParse (s As String, provider As IFormatProvider, ByRef result As TSelf) As Boolean" />
<MemberSignature Language="F#" Value="static member TryParse : string * IFormatProvider * 'Self -> bool" Usage="System.IParsable<'Self (requires 'Self :> System.IParsable<'Self>)>.TryParse (s, provider, result)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool TryParse(System::String ^ s, IFormatProvider ^ provider, [Runtime::InteropServices::Out] TSelf % result);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="s" Type="System.String">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.NotNullWhen(true)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.NotNullWhen(true)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="provider" Type="System.IFormatProvider" />
<Parameter Name="result" Type="TSelf" RefType="out">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="s">The string to parse.</param>
<param name="provider">An object that provides culture-specific formatting information about <paramref name="s" />.</param>
<param name="result">When this method returns, contains the result of successfully parsing <paramref name="s" /> or an undefined value on failure.</param>
<summary>Tries to parse a string into a value.</summary>
<returns>
<see langword="true" /> if <paramref name="s" /> was successfully parsed; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>